package com.xy.biz.uc.domain.enums;

import com.xy.lang.enums.LongCodeEnum;

public enum ResourceEnum implements LongCodeEnum {

    TEAM_MANAGEMENT(10101L, "团队管理"),
    TEAM_REPOSITORY_MANAGEMENT(10102L, "团队知识库管理"),
    BACK_STAGE_MANAGEMENT(10103L, "管理后台");

    private long code;
    private String desc;

    ResourceEnum(long code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public long getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }

}
